//
//  CollectionViewCell.m
//  collectionView
//
//  Created by 小白 on 16/3/9.
//  Copyright © 2016年 小白. All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
    
    UIImageView *img = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 100, 80)];
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0, 80, 100, 20)];
    self.imgView = img;
    self.labelName = label;
    [self addSubview:img];
    [self addSubview:label];
    
}
    return self;
}

@end
